import { post } from '@/assets/api/http'

//获取模板分类
export const getModelCate = (data) => post('/api/drygoods/pc_getCate', data)

//获取模板列表
export const getModelList = (data) => post('/api/drygoods/getList', data)

//获取模板详情
export const getListinfo = (data) => post('/api/drygoods/getListinfo', data)

//下载模板支付接口
export const payModel = (data) => post('/api/drygoods/download', data)

//模板收藏
export const setCollect = (data) => post('/api/drygoods/setCollect', data)

//模板搜索
export const getSearchList = (data) => post('/api/Index/searchlist', data)

//模板搜索
export const getDrgoodsShowpic = (data) => post('/api/drygoods/showpic', data)

//相关推荐
export const get_relatedcommendlist = (data) => post('/api/drygoods/get_relatedcommendlist', data)

//热门文档
export const get_hotDocumentList = (data) => post('/api/index/recommend_drygoods', data)

//相关推荐
export const add_suggestion = (data) => post('/api/drygoods/add_suggestion', data)